<!--盒子头-->
<div class="box-header">
    <h3 class="box-title">
        <a href="addaccount" class="label label-success" style="padding: 5px;">
            <span class="glyphicon glyphicon-plus"></span> 新增
        </a>
    </h3>
    <div class="box-tools">
        <div class="input-group" style="width: 150px;">
            <input type="text" class="form-control input-sm pull-right baseKey" value="${(baseKey)!''}"
                   placeholder="账号名查询"/>
            <div class="input-group-btn" style="top:-1px;">
                <a class="btn btn-sm btn-default glyphicon glyphicon-search btn-change baseKetsubmit"></a>
            </div>
        </div>
    </div>
</div>
<!--盒子身体-->
<div class="box-body no-padding">
    <div class="table-responsive">
        <table class="table table-hover table-striped">
            <thead>
            <tr>
                <th scope="col" class="paixu thistype" style="color:blue;">类型
                    <#if type?? && icon??>
                        <span class="glyphicon ${icon}"></span>
                    </#if>
                </th>
                <th scope="col">账号名</th>
                <th scope="col"><span class="paixu thistime" style="color:blue;">创建时间
						<#if time?? && icon??>
                            <span class="glyphicon ${icon}"></span>
                        </#if>
						</span></th>
                <th scope="col"><span class="paixu thisstatus" style="color:blue;">状态
						<#if status?? && icon??>
                            <span class="glyphicon ${icon}"></span>
                        </#if>
						</span></th>
                <th scope="col">操作</th>
                <#--  <th scope="col" class="commen co">类型<span class="block"></span></th>
                  <th scope="col">账号名</th>
                  <th scope="col" class="co commen">创建时间<span class="block"></span></th>
                  <th scope="col" class="co commen">状态<span class="block"></span></th>
                  <th scope="col">操作</th>-->
            </tr>
            </thead>
            <tbody class="update">
            <#if account??>
                <#list account as list>
                    <tr>
                        <td><span>${list.aoaTypeList.typeName}</span></td>

                        <td><span>${list.mailUserName}</span></td>

                        <td><span>${list.mailCreateTime}</span></td>

                        <td>
                            <span class="label ${list.aoaStatusList.statusColor}">${list.aoaStatusList.statusName}</span>
                        </td>

                        <td><a href="addaccount?id=${list.mailNumberId}&page=${page.number}" class="label xiugai">
                                <span class="glyphicon glyphicon-edit"></span> 修改</a>
                            <a onclick="{return confirm('删除该记录将不能恢复，确定删除吗？');};"
                               href="dele?id=${list.mailNumberId}&page=${page.number}" class="label shanchu">
                                <span class="glyphicon glyphicon-remove"></span> 删除</a></td>
                    </tr>
                </#list>
            </#if>
            </tbody>
        </table>
    </div>
</div>
<!--盒子尾-->
<#include "/common/paging.ftl">

